<template>
  <div class="reportMistakeInfoPreview" >
    <el-dialog title="导入预览" :visible="true" :gutter="24" @close="close">
      <el-table
        :data="tableData"
        border
        style="width: 100%"
        :fit="true">
        <el-table-column
          prop="id"
          align="center"
          label="序号">
        </el-table-column>
        <el-table-column
          prop="lineName"
          align="center"
          label="线路">
        </el-table-column>
        <el-table-column
          prop="stationName"
          align="center"
          label="车站">
        </el-table-column>
        <el-table-column
          prop="noticeTime"
          align="center"
          min-width="120"
          label="通知时间">
        </el-table-column>
        <el-table-column
          prop="reprotTime"
          align="center"
          label="报表时间">
        </el-table-column>
        <el-table-column
          prop="reportName"
          align="center"
          label="报表名称">
        </el-table-column>
        <el-table-column
          prop="dutyStationLeaderName"
          align="center"
          label="值班站长">
        </el-table-column>
        <el-table-column
          prop="dutyStationPersonName"
          align="center"
          label="值班员">
        </el-table-column>
        <el-table-column
          prop="stationPersonName"
          align="center"
          label="站务员">
        </el-table-column>
        <el-table-column
          prop="errorDetail"
          align="center"
          label="错误详情">
        </el-table-column>
        <el-table-column
          prop="isModify"
          align="center"
          label="是否更改">
          <template slot-scope="scope">
            {{scope.row.isModify==0?'否':(scope.row.isModify==1?'是':'')}}
          </template>
        </el-table-column>
        <el-table-column
          prop="modifyTime"
          align="center"
          label="更改日期">
        </el-table-column>
        <el-table-column
          prop="creatorName"
          align="center"
          label="更改人">
        </el-table-column>
      </el-table>
    </el-dialog>
  </div>
</template>


<script>
    import {getForm, postForm} from '@/api/gen/gen'
    import moment from "moment";
    import {
      addReportError,
      getLineLists,
      getPersonRole,
      getReports,
      getStationLists, updateReport
    } from "../../../../api/subwayRat/reportMondify/reportMistakeInfo";

    export default {
        data() {
            return {
              tableData :[]
            }
        },
        created() {
        },
        methods: {
          close(){
            this.$parent.isShowReportMistakeInfoPreview=false;
          }
        },
      mounted() {
      }
    }
</script>
